!rm costscaling.eps
set terminal postscript eps enhanced
set output "costscaling.eps"
set size 2.5/5., 1.5/3.
set xlabel "CPU usage [%]" 0,0.5
set ylabel "Total control cost" 1.5,0

#set key 12.3, 2.7
#set key left top
#set key left bottom
#set nokey

set grid

set pointsize 1.1

set xtics 30,10
set ytics 4,4

plot[30:75][4:20] \
"comparison.dat" using 1:2 with linespoints lt 1 lw 2 pt 3 title "Our approach",\
"comparison.dat" using 1:3 with linespoints lt 2 lw 2 pt 5 title "Periodic implementation"


